package com.purchase.ml.bean.req.order;

import com.purchase.ml.bean.base.PageDto;
import com.purchase.ml.utils.RegexpUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * Created by kyyang on 2021/3/1 21:57
 */
@Data
public class OrderInvoiceQueryReq extends PageDto {

    @ApiModelProperty(value = "商户ID")
    private Long dealerId;

    @ApiModelProperty(value = "发票ID")
    private String invoiceId;

    @ApiModelProperty(value = "订单ID")
    private Long oid;

    @ApiModelProperty(value = "客户名称")
    private String dealerName;

    @ApiModelProperty(value = "日期")
    @Pattern(regexp= RegexpUtils.rexp1,message="日期格式为yyyy-MM-dd")
    private String date;

    private int sort;

    private String order;

}
